import axios from './axiosFun';


//获取所有书籍列表
export const getBooks = (params) => {return axios.post("/book/list",params)}
//获取所有书籍的分类
export const getClass = () => {return axios.get('/book/getClasses')} 
//根据书的id获取单独的一本书的具体信息
export const getById = (param) => {return axios.get('/book/getById?id='+param)}
